import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';


class AccountBankCardItem extends StatefulWidget {
  @override
  _AccountBankCardItemState createState() => _AccountBankCardItemState();
}

class _AccountBankCardItemState extends State<AccountBankCardItem> {
  @override
  Widget build(BuildContext context) {
    return Container(
      width: ScreenUtil().setWidth(340),
      height: ScreenUtil().setWidth(160),
      decoration: BoxDecoration(
        color: Color(0xff41A5EE),
        borderRadius: BorderRadius.circular(5),
      ),
      child: Column(
        children: [
          SizedBox(
              height: ScreenUtil().setWidth(10),
          ),
          Row(
            children: [
              SizedBox(width: ScreenUtil().setWidth(315),),
              Container(
                width:ScreenUtil().setWidth(13),
                height: ScreenUtil().setWidth(13),
                child: Image.asset("sources/yy/x.png"),
              )
            ],
          ),
          SizedBox(
            height: ScreenUtil().setWidth(10),
          ),
          Container(
            width: ScreenUtil().setWidth(340),
            height: ScreenUtil().setWidth(35),
            color:Color(0xff1A73B6) ,
            child:Row(
              children: [
                SizedBox(
                 width: ScreenUtil().setWidth(24),
                ),
                Container(
                  width:ScreenUtil().setWidth(24),
                  height:ScreenUtil().setWidth(20),
                  child:Image.asset("sources/yy/moneyIcon.png") ,
                ),
                SizedBox(
                  width: ScreenUtil().setWidth(10),
                ),
                Container(
                  height: ScreenUtil().setWidth(24),
                  child:Text("6230  9018  1812  8621  572",style: TextStyle(fontSize:ScreenUtil().setSp(18),color: Colors.white),) ,
                ),
              ],
            ) ,
          ),
          SizedBox(
            height: ScreenUtil().setWidth(31),
          ),
          Row(
            children: [
              SizedBox(
                width: ScreenUtil().setWidth(25),
              ),
              Container(
                width: ScreenUtil().setWidth(192),
                height: ScreenUtil().setWidth(36),
                child: Text(
                  "益阳农商银行",style: TextStyle(fontSize:ScreenUtil().setSp(12),color: Colors.white)
                ),
              ),
              SizedBox(
                width: ScreenUtil().setWidth(51),
              ),
              Container(
                width: ScreenUtil().setWidth(57),
                height: ScreenUtil().setWidth(57),
                decoration: BoxDecoration(
                    borderRadius: BorderRadius.circular(ScreenUtil().setWidth(28.5)),
                    border:Border.all(color: Color(0xffFFFFFF),width: 2),
                ),
                child: Center(
                  child:Text(
                      "查询",style: TextStyle(fontSize:ScreenUtil().setSp(15),color: Colors.white)
                  ),
                ),
              )
            ],
          ),

        ],
      ),
    );
  }
}
